package com.zqc.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "zqc-service-user")
public interface UserService {
    @RequestMapping(value = "/api/user/info/{token}", method = RequestMethod.GET)
    String info(@PathVariable(value = "token") String token);
}